package com.tuanzi.loan.vo.response.family;

import com.tuanzi.loan.core.vo.IdentityResponse;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
public class LoanApiOrderSearchResponse extends IdentityResponse {

	private Long id;

	private Long userId;

	private String mobnum;

	private String idCard;

	private String petname;

	private Integer amount;

	private Integer type;

	private Integer status;

	private String peroid;

	private String sourceId;

	private Double loanAmount;

	private Date loanTime;

	private Double settleAmount;

	private String transactionId;

	private Date transactionTime;

	private Integer authorize;

	private Date authTime;

	private String sourceUrl;

	private String borrowerId;

	private String loanAppId;

	private String phoneId;

	private String platform;

	private String productId;

	private Integer channel;

	private String newActivityId;

	private String newActivityType;

	private String environment;

	private String page;

	private String ckModule;

	private String position;

	private String orderType;

	private String userType;

	private String accessType;

	private Date ctime;

	private String memo;

	private String channelFrom;

	private String current_period;

	private String repay_status;

	private String exceed_status;


	public String getRepay_status() {
		if ("1".equals(exceed_status)){
			repay_status="2";//已逾期
		}
		return repay_status;
	}

	public void setRepay_status(String repay_status) {
		this.repay_status = repay_status;
	}
}
